package com.futureCloudMOM.core.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.futureCloudMOM.core.entity.FBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "Basic_SignIn", description = "人员上下岗")
@TableName(value = "Basic_SignIn")
public class BasicSignIn extends FBaseEntity implements Serializable {


    
    @NotNull(message="[人员ID]不能为空")
    @ApiModelProperty("人员ID")
    @TableField(value = "employeeId")
    private Long employeeId;
    
    @ApiModelProperty("上岗时间")
    @TableField(value = "beginTime")
    private Date beginTime;
    
    @ApiModelProperty("下岗时间")
    @TableField(value = "endTime")
    private Date endTime;
    
    @ApiModelProperty("状态")
    @TableField(value = "status")
    private Long status;
    
    @ApiModelProperty("生产资源")
    @TableField(value = "resourceId")
    private Long resourceId;
    
    @ApiModelProperty("工序")
    @TableField(value = "procId")
    private Long procId;
    
    @ApiModelProperty("工序活动岗")
    @TableField(value = "actionId")
    private Long actionId;
    
    @ApiModelProperty("在岗时长")
    @TableField(value = "signDuration")
    private Long signDuration;






}

